﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020001BD RID: 445
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChallengeBossStatistics : IMessage<ChallengeBossStatistics>, IMessage, IEquatable<ChallengeBossStatistics>, IDeepCloneable<ChallengeBossStatistics>, IBufferMessage
	{
		// Token: 0x170005E9 RID: 1513
		// (get) Token: 0x06001432 RID: 5170 RVA: 0x00039F4B File Offset: 0x0003814B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChallengeBossStatistics> Parser
		{
			get
			{
				return ChallengeBossStatistics._parser;
			}
		}

		// Token: 0x170005EA RID: 1514
		// (get) Token: 0x06001433 RID: 5171 RVA: 0x00039F52 File Offset: 0x00038152
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChallengeBossStatisticsReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170005EB RID: 1515
		// (get) Token: 0x06001434 RID: 5172 RVA: 0x00039F64 File Offset: 0x00038164
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChallengeBossStatistics.Descriptor;
			}
		}

		// Token: 0x06001435 RID: 5173 RVA: 0x00039F6B File Offset: 0x0003816B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChallengeBossStatistics()
		{
		}

		// Token: 0x06001436 RID: 5174 RVA: 0x00039F74 File Offset: 0x00038174
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChallengeBossStatistics(ChallengeBossStatistics other) : this()
		{
			this.stageTertinggi_ = ((other.stageTertinggi_ != null) ? other.stageTertinggi_.Clone() : null);
			this.recordId_ = other.recordId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001437 RID: 5175 RVA: 0x00039FC0 File Offset: 0x000381C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChallengeBossStatistics Clone()
		{
			return new ChallengeBossStatistics(this);
		}

		// Token: 0x170005EC RID: 1516
		// (get) Token: 0x06001438 RID: 5176 RVA: 0x00039FC8 File Offset: 0x000381C8
		// (set) Token: 0x06001439 RID: 5177 RVA: 0x00039FD0 File Offset: 0x000381D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChallengeBossStageTertinggi StageTertinggi
		{
			get
			{
				return this.stageTertinggi_;
			}
			set
			{
				this.stageTertinggi_ = value;
			}
		}

		// Token: 0x170005ED RID: 1517
		// (get) Token: 0x0600143A RID: 5178 RVA: 0x00039FD9 File Offset: 0x000381D9
		// (set) Token: 0x0600143B RID: 5179 RVA: 0x00039FE1 File Offset: 0x000381E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint RecordId
		{
			get
			{
				return this.recordId_;
			}
			set
			{
				this.recordId_ = value;
			}
		}

		// Token: 0x0600143C RID: 5180 RVA: 0x00039FEA File Offset: 0x000381EA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChallengeBossStatistics);
		}

		// Token: 0x0600143D RID: 5181 RVA: 0x00039FF8 File Offset: 0x000381F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChallengeBossStatistics other)
		{
			return other != null && (other == this || (object.Equals(this.StageTertinggi, other.StageTertinggi) && this.RecordId == other.RecordId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600143E RID: 5182 RVA: 0x0003A048 File Offset: 0x00038248
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.stageTertinggi_ != null)
			{
				num ^= this.StageTertinggi.GetHashCode();
			}
			if (this.RecordId != 0U)
			{
				num ^= this.RecordId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600143F RID: 5183 RVA: 0x0003A09D File Offset: 0x0003829D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001440 RID: 5184 RVA: 0x0003A0A5 File Offset: 0x000382A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001441 RID: 5185 RVA: 0x0003A0B0 File Offset: 0x000382B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.RecordId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.RecordId);
			}
			if (this.stageTertinggi_ != null)
			{
				output.WriteRawTag(82);
				output.WriteMessage(this.StageTertinggi);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001442 RID: 5186 RVA: 0x0003A10C File Offset: 0x0003830C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.stageTertinggi_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.StageTertinggi);
			}
			if (this.RecordId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.RecordId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001443 RID: 5187 RVA: 0x0003A164 File Offset: 0x00038364
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChallengeBossStatistics other)
		{
			if (other == null)
			{
				return;
			}
			if (other.stageTertinggi_ != null)
			{
				if (this.stageTertinggi_ == null)
				{
					this.StageTertinggi = new ChallengeBossStageTertinggi();
				}
				this.StageTertinggi.MergeFrom(other.StageTertinggi);
			}
			if (other.RecordId != 0U)
			{
				this.RecordId = other.RecordId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001444 RID: 5188 RVA: 0x0003A1CC File Offset: 0x000383CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001445 RID: 5189 RVA: 0x0003A1D8 File Offset: 0x000383D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					if (num != 82U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.stageTertinggi_ == null)
						{
							this.StageTertinggi = new ChallengeBossStageTertinggi();
						}
						input.ReadMessage(this.StageTertinggi);
					}
				}
				else
				{
					this.RecordId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000865 RID: 2149
		private static readonly MessageParser<ChallengeBossStatistics> _parser = new MessageParser<ChallengeBossStatistics>(() => new ChallengeBossStatistics());

		// Token: 0x04000866 RID: 2150
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000867 RID: 2151
		public const int StageTertinggiFieldNumber = 10;

		// Token: 0x04000868 RID: 2152
		private ChallengeBossStageTertinggi stageTertinggi_;

		// Token: 0x04000869 RID: 2153
		public const int RecordIdFieldNumber = 6;

		// Token: 0x0400086A RID: 2154
		private uint recordId_;
	}
}
